package com.junchao.peng.mapper;

import com.junchao.peng.pojo.Session;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author dell
 */
@Mapper
public interface SessionMapper {
    List<Session> listSession();

    List<Session> listSessionByUserName(String userName);

    Session selectSessionBySessionName(String sessionName);

    boolean insertSession(Session session);

    boolean deleteSession(String session);

    boolean updateSession(Session session);
}
